package com.yang.inventorymanagement;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
@MapperScan("com.yang.inventorymanagement.mapper")
public class InventoryManagementApplication {

    public static void main(String[] args) {
        // SpringApplication.run(StudentManangeApplication.class, args);
        //初始化Spring
        new SpringApplicationBuilder(InventoryManagementApplication.class).headless(false).run(args);
        //显示界面
        System.out.printf("hello");
        ViewStart.run();
    }


}
